<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>详情页</title>
    <link th:href="@{/img/Bandit.ico}" rel="icon">
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet">
    <link th:href="@{/css/public.css}" rel="stylesheet">
    <link th:href="@{/css/details.css}" rel="stylesheet">
    <link th:href="@{/editor.md-master/css/editormd.css}" rel="stylesheet">
</head>
<!--公共头-->
<div th:replace="~{commons/common::MyHeader}"></div>
<body>
    <div class="layui-main">
        <div class="layui-card">
            <div class="layui-card-header">
                <span class="layui-breadcrumb">
                    <a th:href="@{/index}">首页</a>
                    <a><cite th:text="${messageType.typeInfo}"></cite></a>
                </span>
            </div>
            <div class="layui-card-body">
                <div style="font-weight: bolder;font-size: 26px;" th:text="${messageByID.msgTitle}"></div>
                <hr>
                <div id="content_textarea" style="width: 90%">
                    <textarea th:text="${messageByID.msgInfo}" style="display: none">
                    </textarea>
                </div>
            </div>
        </div>
    </div>


<!--公共脚本-->
<div th:replace="~{commons/common::pubScript}"></div>
<script type="text/javascript">
    //markDown转HTMl的方法
    editormd.markdownToHTML("content_textarea", {
        htmlDecode: "style,script,iframe",
        emoji: true,
        taskList: true,
        tocm: true,
        tex: true, // 默认不解析
        flowChart: true, // 默认不解析
        sequenceDiagram: true, // 默认不解析
    });
</script>
</body>
</html>